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..976d1e5683 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.8 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..d4776cffdf 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.8 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..de83015223 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.8 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..7aac296d70 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.8 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..5b31f0cdc6 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.8 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..fa46ca93aa 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.8 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..e7265525be 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.8 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..53796bfc0a 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.8 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..22fac0cdb7 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.8 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..34707aa04d 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.8 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..f8d9078d4e 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.8 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..5b31f0cdc6 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.8 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..59a93973cd 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.8 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..f201b0fcf7 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.8 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..2e597f681e 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.8 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..1e28545217 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.8 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..8582ffdc99 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.8 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..37baee4374 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.8 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..bb74ab6c3b 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.8 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..b89d232c06 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.8 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..6a590151e7 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.8 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..c2b318998b 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.8 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..57f7f9deab 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.8 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..7d7c7ed1bf 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.8 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..a5f20b4bcf 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.8 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..a449f1dc6f 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.8 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..775af68e18 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.8 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..495410b88c 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.8 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..e4770872bd 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.8 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..17fc432688 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.8 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..d50eb8d196 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.8 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..d3d281f226 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.8 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..e5aae0243c 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.8 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..943f0c0fb7 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.8 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..266023f358 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.8 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..93440abdd2 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.8 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..495ad69052 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.8 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..e3736fc96e 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.8 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..4a351addeb 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.8 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..07edd26be6 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.8 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..0d7f2d700d 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.8 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..0db1a6b788 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.8 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..464188ae9e 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.8 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..cd4ace2fa1 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.8 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..2b29f3e625 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.8 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..f6b1d1c616 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.8 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.8 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..a2731cdbcf 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.8 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..dc86a2313c 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.8 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..78f0bfb90c 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.8 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..9f969c5b3d 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.8 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..48cd3d0918 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.8 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..095d11167b 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.8 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..e8bf46c30e 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.8 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..3ab47e1e0c 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.8 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..1deaaf87fa 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.8 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..4a6547e5eb 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.8 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..abec2c76fc 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.8 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..ddd27c32fe 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.8 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..d35ae7bb83 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.8 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..b63e1dcae0 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.8 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..7c78bdd4ac 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.8 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..7764bace08 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.8 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..11593faad6 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.8 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..6d1abb0c9d 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.8 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..91b6c4c77f 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.8 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..a6ea7717b4 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.8 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..705d05cf97 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.8 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..67813af716 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.8 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..229b5f9c72 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.8 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..531c33d196 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.8 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..9bff3debff 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.8 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..e71fb77dac 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.8 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..4d49bfd7f6 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.8 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..98a4b8e87e 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.8 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..a3ad5f35a4 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 @@ -10,9 +10,9 @@ org.eclipse.jdt.core.codeComplete.staticFieldSuffixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes= org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate @@ -83,7 +83,7 @@ org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disa org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.7 +org.eclipse.jdt.core.compiler.source=1.8 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=36 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 @@ -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 732d84dd54..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 @@ -35,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 921a4db861..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 @@ -2,6 +2,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; @@ -24,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 b20697b732..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -92,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 15bdf1e86f..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -64,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 4f51fd79b8..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -79,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 20af15e35c..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -64,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 16f230c18b..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 @@ -2,6 +2,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; @@ -12,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 { @@ -24,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 5808151a63..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -76,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); @@ -177,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 611e46c4bb..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -54,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 38de733530..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -52,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 628636c062..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -39,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); @@ -88,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 5ceb63848b..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -96,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 7d11c8701a..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -39,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, @@ -78,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 ae476f7ef2..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -52,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 2ba4b552ee..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 @@ -2,6 +2,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; @@ -12,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 { @@ -24,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 6ba2a6ff18..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 @@ -2,6 +2,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; @@ -12,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 { @@ -24,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 d19b6b46a0..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -52,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); @@ -64,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); @@ -101,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 a535a6cf62..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 @@ -7,6 +7,7 @@ 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; @@ -40,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(); @@ -69,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"); } @@ -276,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 b720d1f4e2..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 @@ -51,372 +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 - 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; - } + 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 @@ -457,914 +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 a4fc593043..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -47,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); } /** @@ -58,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); } /** @@ -79,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); } /** @@ -90,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 382331c475..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -48,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); } /** @@ -60,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); } /** @@ -72,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); } /** @@ -84,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); } /** @@ -96,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); } /** @@ -106,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 0a39e33edd..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -48,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); } /** @@ -59,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); } /** @@ -71,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); } /** @@ -81,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 2752ab348c..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -48,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); } /** @@ -60,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); } /** @@ -72,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); } /** @@ -84,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); } /** @@ -94,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 320c15ba3a..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -48,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); } /** @@ -70,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); } /** @@ -80,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 6d2001476f..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -47,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); } /** @@ -58,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); } /** @@ -69,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); } /** @@ -80,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); } /** @@ -91,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); } /** @@ -102,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 3582402be1..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -49,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); } /** @@ -61,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); } /** @@ -71,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 ddf7cfea06..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -103,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); } /** @@ -115,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); } /** @@ -127,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); } /** @@ -139,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); } /** @@ -189,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 22ba148a8f..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -66,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 f872edd469..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -96,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 0a7962b015..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -51,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); } /** @@ -73,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); } /** @@ -85,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); } /** @@ -116,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 fc327ef78d..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -58,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); } /** @@ -70,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); } /** @@ -90,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 99b08b7fa8..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -57,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 c2266470b5..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -47,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); } /** @@ -98,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 3996efb711..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -47,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); } /** @@ -98,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 39816ec7e8..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 @@ -2,6 +2,7 @@ */ package org.hl7.security.ds4p.contentprofile.impl; +import java.lang.Iterable; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; @@ -106,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 ac4ab49e4e..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 @@ -71,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>(); /** * @@ -87,34 +87,44 @@ protected ConfidentialitySecurityObservationOperations() { public static boolean validateSecurityObservationTemplateId( ConfidentialitySecurityObservation confidentialitySecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "ConfidentialitySecurityObservationSecurityObservationTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -139,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>(); /** * @@ -155,39 +165,48 @@ public static boolean validateSecurityObservationTemplateId( public static boolean validateSecurityObservationCodeP( ConfidentialitySecurityObservation confidentialitySecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "ConfidentialitySecurityObservationSecurityObservationCodeP", "ERROR"); - + + + + + + + + + + + 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); @@ -195,7 +214,7 @@ public static boolean validateSecurityObservationCodeP( } passToken.add(confidentialitySecurityObservation); } - + return false; } return true; @@ -209,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. @@ -222,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>(); /** * @@ -238,42 +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"); - + + + + + + + + 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; @@ -298,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>(); /** * @@ -314,34 +341,44 @@ public static boolean validateSecurityObservationCode( public static boolean validateSecurityObservationValue( ConfidentialitySecurityObservation confidentialitySecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "ConfidentialitySecurityObservationSecurityObservationValue", "ERROR"); - + + + + + + + + + + + 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 f3b72d2db8..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 @@ -72,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>(); /** * @@ -88,36 +88,44 @@ protected MandatoryDocumentAssignedAuthorOperations() { public static boolean validateMandatoryDocumentAssignedAuthorTemplateId( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -142,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>(); /** * @@ -158,36 +166,44 @@ public static boolean validateMandatoryDocumentAssignedAuthorTemplateId( public static boolean validateMandatoryDocumentAssignedAuthorTelecomEmail( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorTelecomEmail", "ERROR"); - + + + + + + + + + + + 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; @@ -212,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>(); /** * @@ -228,37 +244,44 @@ public static boolean validateMandatoryDocumentAssignedAuthorTelecomEmail( public static boolean validateMandatoryDocumentAssignedAuthorAssignedAuthoringDevice( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorAssignedAuthoringDevice", - "WARNING"); - + + + + + + + + + + + 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; @@ -283,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>(); /** * @@ -299,36 +322,44 @@ public static boolean validateMandatoryDocumentAssignedAuthorAssignedAuthoringDe public static boolean validateMandatoryDocumentAssignedAuthorAssignedPerson( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorAssignedPerson", "WARNING"); - + + + + + + + + + + + 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; @@ -353,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>(); /** * @@ -369,37 +400,44 @@ public static boolean validateMandatoryDocumentAssignedAuthorAssignedPerson( public static boolean validateMandatoryDocumentAssignedAuthorRepresentedOrganization( MandatoryDocumentAssignedAuthor mandatoryDocumentAssignedAuthor, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "MandatoryDocumentAssignedAuthorMandatoryDocumentAssignedAuthorRepresentedOrganization", - "WARNING"); - + + + + + + + + + + + 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 5915683d56..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 @@ -70,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>(); /** * @@ -86,35 +86,44 @@ protected MandatoryDocumentProvenanceOperations() { public static boolean validateMandatoryDocumentProvenanceTemplateId( MandatoryDocumentProvenance mandatoryDocumentProvenance, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "MandatoryDocumentProvenanceMandatoryDocumentProvenanceTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -139,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>(); /** * @@ -155,35 +164,44 @@ public static boolean validateMandatoryDocumentProvenanceTemplateId( public static boolean validateMandatoryDocumentProvenanceTime( MandatoryDocumentProvenance mandatoryDocumentProvenance, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "MandatoryDocumentProvenanceMandatoryDocumentProvenanceTime", "ERROR"); - + + + + + + + + + + + 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,36 +242,44 @@ public static boolean validateMandatoryDocumentProvenanceTime( public static boolean validateMandatoryDocumentProvenanceAssignedAuthor( MandatoryDocumentProvenance mandatoryDocumentProvenance, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "MandatoryDocumentProvenanceMandatoryDocumentProvenanceAssignedAuthor", "ERROR"); - + + + + + + + + + + + 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 0e46aa5562..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 @@ -71,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>(); /** * @@ -87,35 +87,44 @@ protected MandatoryEntryAssignedAuthorOperations() { public static boolean validateMandatoryEntryAssignedAuthorTemplateId( MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -140,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>(); /** * @@ -156,36 +165,44 @@ public static boolean validateMandatoryEntryAssignedAuthorTemplateId( public static boolean validateMandatoryEntryAssignedAuthorAssignedAuthoringDevice( MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorAssignedAuthoringDevice", "ERROR"); - + + + + + + + + + + + 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; @@ -210,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>(); /** * @@ -226,36 +243,44 @@ public static boolean validateMandatoryEntryAssignedAuthorAssignedAuthoringDevic public static boolean validateMandatoryEntryAssignedAuthorAssignedPerson( MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorAssignedPerson", "ERROR"); - + + + + + + + + + + + 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; @@ -280,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>(); /** * @@ -296,36 +321,44 @@ public static boolean validateMandatoryEntryAssignedAuthorAssignedPerson( public static boolean validateMandatoryEntryAssignedAuthorRepresentedOrganization( MandatoryEntryAssignedAuthor mandatoryEntryAssignedAuthor, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "MandatoryEntryAssignedAuthorMandatoryEntryAssignedAuthorRepresentedOrganization", "ERROR"); - + + + + + + + + + + + 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 ccd8a33ead..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 @@ -70,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>(); /** * @@ -85,35 +85,44 @@ protected MandatoryEntryProvenanceOperations() { public static boolean validateMandatoryEntryProvenanceTemplateId(MandatoryEntryProvenance mandatoryEntryProvenance, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "MandatoryEntryProvenanceMandatoryEntryProvenanceTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -138,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>(); /** * @@ -153,33 +162,44 @@ public static boolean validateMandatoryEntryProvenanceTemplateId(MandatoryEntryP public static boolean validateMandatoryEntryProvenanceTime(MandatoryEntryProvenance mandatoryEntryProvenance, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "MandatoryEntryProvenanceMandatoryEntryProvenanceTime", "ERROR"); - + + + + + + + + + + + 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,35 +240,44 @@ public static boolean validateMandatoryEntryProvenanceTime(MandatoryEntryProvena public static boolean validateMandatoryEntryProvenanceAssignedAuthor( MandatoryEntryProvenance mandatoryEntryProvenance, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "MandatoryEntryProvenanceMandatoryEntryProvenanceAssignedAuthor", "ERROR"); - + + + + + + + + + + + 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 df91f1124b..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 @@ -72,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>(); /** * @@ -88,34 +88,44 @@ protected ObligationPolicySecurityObservationOperations() { public static boolean validateSecurityObservationTemplateId( ObligationPolicySecurityObservation obligationPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "ObligationPolicySecurityObservationSecurityObservationTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -140,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>(); /** * @@ -156,39 +166,48 @@ public static boolean validateSecurityObservationTemplateId( public static boolean validateSecurityObservationCodeP( ObligationPolicySecurityObservation obligationPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "ObligationPolicySecurityObservationSecurityObservationCodeP", "ERROR"); - + + + + + + + + + + + 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); @@ -196,7 +215,7 @@ public static boolean validateSecurityObservationCodeP( } passToken.add(obligationPolicySecurityObservation); } - + return false; } return true; @@ -210,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. @@ -223,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>(); /** * @@ -239,42 +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"); - + + + + + + + + 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; @@ -299,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>(); /** * @@ -315,39 +342,48 @@ public static boolean validateSecurityObservationCode( public static boolean validateSecurityObservationValueP( ObligationPolicySecurityObservation obligationPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "ObligationPolicySecurityObservationSecurityObservationValueP", "ERROR"); - + + + + + + + + + + + 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); @@ -355,7 +391,7 @@ public static boolean validateSecurityObservationValueP( } passToken.add(obligationPolicySecurityObservation); } - + return false; } return true; @@ -369,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. @@ -382,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>(); /** * @@ -398,43 +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"); - + + + + + + + + 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 c0281f302d..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 @@ -69,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>(); /** * @@ -85,36 +85,44 @@ protected PrivacyAnnotationEntryRelationshipOperations() { public static boolean validatePrivacyAnnotationEntryRelationshipTemplateId( PrivacyAnnotationEntryRelationship privacyAnnotationEntryRelationship, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "PrivacyAnnotationEntryRelationshipPrivacyAnnotationEntryRelationshipTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -139,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>(); /** * @@ -155,36 +163,44 @@ public static boolean validatePrivacyAnnotationEntryRelationshipTemplateId( public static boolean validatePrivacyAnnotationEntryRelationshipOrganizer( PrivacyAnnotationEntryRelationship privacyAnnotationEntryRelationship, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "PrivacyAnnotationEntryRelationshipPrivacyAnnotationEntryRelationshipOrganizer", "ERROR"); - + + + + + + + + + + + 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 420cfc4b6c..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 @@ -89,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>(); /** * @@ -104,32 +104,44 @@ protected PrivacyAnnotationOperations() { public static boolean validatePrivacyAnnotationTemplateId(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyAnnotationPrivacyAnnotationTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -154,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>(); /** * @@ -169,32 +181,44 @@ public static boolean validatePrivacyAnnotationTemplateId(PrivacyAnnotation priv public static boolean validatePrivacyAnnotationClassCode(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyAnnotationPrivacyAnnotationClassCode", "ERROR"); - + + + + + + + + + + + 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; @@ -219,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>(); /** * @@ -234,32 +258,44 @@ public static boolean validatePrivacyAnnotationClassCode(PrivacyAnnotation priva public static boolean validatePrivacyAnnotationMoodCode(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyAnnotationPrivacyAnnotationMoodCode", "ERROR"); - + + + + + + + + + + + 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,37 +335,48 @@ public static boolean validatePrivacyAnnotationMoodCode(PrivacyAnnotation privac public static boolean validatePrivacyAnnotationStatusCodeP(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyAnnotationPrivacyAnnotationStatusCodeP", "ERROR"); - + + + + + + + + + + + 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); @@ -337,7 +384,7 @@ public static boolean validatePrivacyAnnotationStatusCodeP(PrivacyAnnotation pri } passToken.add(privacyAnnotation); } - + return false; } return true; @@ -351,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. @@ -363,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>(); /** * @@ -378,40 +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"); - + + + + + + + + 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; @@ -436,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>(); /** * @@ -451,36 +509,44 @@ public static boolean validatePrivacyAnnotationStatusCode(PrivacyAnnotation priv public static boolean validatePrivacyAnnotationObligationPolicySecurityObservation( PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "PrivacyAnnotationPrivacyAnnotationObligationPolicySecurityObservation", "INFO"); - + + + + + + + + + + + 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; @@ -505,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>(); /** * @@ -520,35 +586,44 @@ public static boolean validatePrivacyAnnotationObligationPolicySecurityObservati public static boolean validatePrivacyAnnotationRefrainPolicySecurityObservation(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyAnnotationPrivacyAnnotationRefrainPolicySecurityObservation", "INFO"); - + + + + + + + + + + + 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; @@ -573,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>(); /** * @@ -588,35 +663,44 @@ public static boolean validatePrivacyAnnotationRefrainPolicySecurityObservation( public static boolean validatePrivacyAnnotationPurposeOfUseSecurityObservation(PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyAnnotationPrivacyAnnotationPurposeOfUseSecurityObservation", "INFO"); - + + + + + + + + + + + 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; @@ -641,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>(); /** * @@ -656,36 +740,44 @@ public static boolean validatePrivacyAnnotationPurposeOfUseSecurityObservation(P public static boolean validatePrivacyAnnotationConfidentialityCodeSecurityObservation( PrivacyAnnotation privacyAnnotation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "PrivacyAnnotationPrivacyAnnotationConfidentialityCodeSecurityObservation", "ERROR"); - + + + + + + + + + + + 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; @@ -719,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()); } @@ -769,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()); } @@ -819,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()); } @@ -869,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 b346d852eb..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 @@ -69,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>(); /** * @@ -84,34 +84,44 @@ protected PrivacyMarkingsEntryOperations() { public static boolean validatePrivacyMarkingsEntryTemplateId(PrivacyMarkingsEntry privacyMarkingsEntry, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyMarkingsEntryPrivacyMarkingsEntryTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -136,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>(); /** * @@ -151,33 +161,44 @@ public static boolean validatePrivacyMarkingsEntryTemplateId(PrivacyMarkingsEntr public static boolean validatePrivacyMarkingsEntryOrganizer(PrivacyMarkingsEntry privacyMarkingsEntry, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyMarkingsEntryPrivacyMarkingsEntryOrganizer", "ERROR"); - + + + + + + + + + + + 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 3b9f29d40b..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 @@ -72,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>(); /** * @@ -87,35 +87,44 @@ protected PrivacyMarkingsSectionOperations() { public static boolean validatePrivacyMarkingsSectionTemplateId(PrivacyMarkingsSection privacyMarkingsSection, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyMarkingsSectionPrivacyMarkingsSectionTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -129,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. @@ -142,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>(); /** * @@ -157,33 +166,44 @@ public static boolean validatePrivacyMarkingsSectionTemplateId(PrivacyMarkingsSe public static boolean validatePrivacyMarkingsSectionCode(PrivacyMarkingsSection privacyMarkingsSection, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyMarkingsSectionPrivacyMarkingsSectionCode", "WARNING"); - + + + + + + + + + + + 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,33 +243,44 @@ public static boolean validatePrivacyMarkingsSectionCode(PrivacyMarkingsSection public static boolean validatePrivacyMarkingsSectionCodeP(PrivacyMarkingsSection privacyMarkingsSection, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyMarkingsSectionPrivacyMarkingsSectionCodeP", "ERROR"); - + + + + + + + + + + + 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; @@ -274,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>(); /** * @@ -289,33 +320,44 @@ public static boolean validatePrivacyMarkingsSectionCodeP(PrivacyMarkingsSection public static boolean validatePrivacyMarkingsSectionText(PrivacyMarkingsSection privacyMarkingsSection, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyMarkingsSectionPrivacyMarkingsSectionText", "ERROR"); - + + + + + + + + + + + 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; @@ -340,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>(); /** * @@ -355,33 +397,44 @@ public static boolean validatePrivacyMarkingsSectionText(PrivacyMarkingsSection public static boolean validatePrivacyMarkingsSectionEntry1(PrivacyMarkingsSection privacyMarkingsSection, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacyMarkingsSectionPrivacyMarkingsSectionEntry1", "INFO"); - + + + + + + + + + + + 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 563c6e9300..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 @@ -80,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>(); /** * @@ -95,35 +95,44 @@ protected PrivacySegmentedDocumentOperations() { public static boolean validatePrivacySegmentedDocumentTemplateId(PrivacySegmentedDocument privacySegmentedDocument, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacySegmentedDocumentPrivacySegmentedDocumentTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -148,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>(); /** * @@ -163,35 +172,44 @@ public static boolean validatePrivacySegmentedDocumentTemplateId(PrivacySegmente public static boolean validatePrivacySegmentedDocumentAuthor1(PrivacySegmentedDocument privacySegmentedDocument, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacySegmentedDocumentPrivacySegmentedDocumentAuthor1", "ERROR"); - + + + + + + + + + + + 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; @@ -216,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>(); /** * @@ -232,35 +250,44 @@ public static boolean validatePrivacySegmentedDocumentAuthor1(PrivacySegmentedDo public static boolean validatePrivacySegmentedDocumentSegmentedSection( PrivacySegmentedDocument privacySegmentedDocument, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacySegmentedDocumentPrivacySegmentedDocumentSegmentedSection", "INFO"); - + + + + + + + + + + + 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; @@ -285,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>(); /** * @@ -301,36 +328,44 @@ public static boolean validatePrivacySegmentedDocumentSegmentedSection( public static boolean validatePrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection( PrivacySegmentedDocument privacySegmentedDocument, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "PrivacySegmentedDocumentPrivacySegmentedDocumentPrivacyAndSecurityMarkingsSection", "WARNING"); - + + + + + + + + + + + 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; @@ -364,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(324)); + 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()); } @@ -413,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(325)); + 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 93df15ec29..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 @@ -71,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>(); /** * @@ -86,35 +86,44 @@ protected PrivacySegmentedSectionOperations() { public static boolean validatePrivacySegmentedSectionTemplateId(PrivacySegmentedSection privacySegmentedSection, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacySegmentedSectionPrivacySegmentedSectionTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -128,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. @@ -141,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>(); /** * @@ -156,35 +165,44 @@ public static boolean validatePrivacySegmentedSectionTemplateId(PrivacySegmented public static boolean validatePrivacySegmentedSectionConfidentialityCode( PrivacySegmentedSection privacySegmentedSection, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacySegmentedSectionPrivacySegmentedSectionConfidentialityCode", "ERROR"); - + + + + + + + + + + + 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,36 +242,44 @@ public static boolean validatePrivacySegmentedSectionConfidentialityCode( public static boolean validatePrivacySegmentedSectionConfidentialityCodeP( PrivacySegmentedSection privacySegmentedSection, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment( - context, "PrivacySegmentedSectionPrivacySegmentedSectionConfidentialityCodeP", "WARNING"); - + + + + + + + + + + + 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; @@ -278,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>(); /** * @@ -293,33 +319,44 @@ public static boolean validatePrivacySegmentedSectionConfidentialityCodeP( public static boolean validatePrivacySegmentedSectionAuthor(PrivacySegmentedSection privacySegmentedSection, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PrivacySegmentedSectionPrivacySegmentedSectionAuthor", "WARNING"); - + + + + + + + + + + + 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 a5e01b493d..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 @@ -64,32 +64,44 @@ protected ProtectedProblemOperations() { public static boolean validateProblemObservationTemplateId(ProtectedProblem protectedProblem, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "ProtectedProblemProblemObservationTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -114,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>(); /** * @@ -129,34 +141,44 @@ public static boolean validateProblemObservationTemplateId(ProtectedProblem prot public static boolean validateProtectedProblemProblemProvenance(ProtectedProblem protectedProblem, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "ProtectedProblemProtectedProblemProblemProvenance", "ERROR"); - + + + + + + + + + + + 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; @@ -181,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. @@ -202,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>(); /** * @@ -217,34 +239,44 @@ public static boolean validateProtectedProblemProblemProvenance(ProtectedProblem public static boolean validateProtectedProblemPrivacyAnnotations(ProtectedProblem protectedProblem, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "ProtectedProblemProtectedProblemPrivacyAnnotations", "ERROR"); - + + + + + + + + + + + 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 8316fd0500..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 @@ -72,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>(); /** * @@ -88,34 +88,44 @@ protected PurposeOfUseSecurityObservationOperations() { public static boolean validateSecurityObservationTemplateId( PurposeOfUseSecurityObservation purposeOfUseSecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PurposeOfUseSecurityObservationSecurityObservationTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -140,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>(); /** * @@ -156,39 +166,48 @@ public static boolean validateSecurityObservationTemplateId( public static boolean validateSecurityObservationCodeP( PurposeOfUseSecurityObservation purposeOfUseSecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PurposeOfUseSecurityObservationSecurityObservationCodeP", "ERROR"); - + + + + + + + + + + + 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); @@ -196,7 +215,7 @@ public static boolean validateSecurityObservationCodeP( } passToken.add(purposeOfUseSecurityObservation); } - + return false; } return true; @@ -210,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. @@ -223,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>(); /** * @@ -239,42 +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"); - + + + + + + + + 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; @@ -299,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>(); /** * @@ -315,39 +342,48 @@ public static boolean validateSecurityObservationCode( public static boolean validateSecurityObservationValueP( PurposeOfUseSecurityObservation purposeOfUseSecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "PurposeOfUseSecurityObservationSecurityObservationValueP", "ERROR"); - + + + + + + + + + + + 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); @@ -355,7 +391,7 @@ public static boolean validateSecurityObservationValueP( } passToken.add(purposeOfUseSecurityObservation); } - + return false; } return true; @@ -369,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. @@ -382,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>(); /** * @@ -398,43 +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"); - + + + + + + + + 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 0e38d6d7fd..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 @@ -72,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>(); /** * @@ -88,34 +88,44 @@ protected RefrainPolicySecurityObservationOperations() { public static boolean validateSecurityObservationTemplateId( RefrainPolicySecurityObservation refrainPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "RefrainPolicySecurityObservationSecurityObservationTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -140,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>(); /** * @@ -156,39 +166,48 @@ public static boolean validateSecurityObservationTemplateId( public static boolean validateSecurityObservationCodeP( RefrainPolicySecurityObservation refrainPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "RefrainPolicySecurityObservationSecurityObservationCodeP", "ERROR"); - + + + + + + + + + + + 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); @@ -196,7 +215,7 @@ public static boolean validateSecurityObservationCodeP( } passToken.add(refrainPolicySecurityObservation); } - + return false; } return true; @@ -210,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. @@ -223,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>(); /** * @@ -239,42 +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"); - + + + + + + + + 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; @@ -299,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>(); /** * @@ -315,39 +342,48 @@ public static boolean validateSecurityObservationCode( public static boolean validateSecurityObservationValueP( RefrainPolicySecurityObservation refrainPolicySecurityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "RefrainPolicySecurityObservationSecurityObservationValueP", "ERROR"); - + + + + + + + + + + + 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); @@ -355,7 +391,7 @@ public static boolean validateSecurityObservationValueP( } passToken.add(refrainPolicySecurityObservation); } - + return false; } return true; @@ -369,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. @@ -382,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>(); /** * @@ -398,43 +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"); - + + + + + + + + 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 91ec36bc66..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 @@ -74,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>(); /** * @@ -89,33 +89,44 @@ protected SecurityObservationOperations() { public static boolean validateSecurityObservationTemplateId(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "SecurityObservationSecurityObservationTemplateId", "ERROR"); - + + + + + + + + + + + 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; @@ -134,37 +145,48 @@ public static boolean validateSecurityObservationTemplateId(SecurityObservation public static boolean validateSecurityObservationCodeP(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "SecurityObservationSecurityObservationCodeP", "ERROR"); - + + + + + + + + + + + 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,40 +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"); - + + + + + + + + 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; @@ -243,32 +275,44 @@ public static boolean validateSecurityObservationCode(SecurityObservation securi public static boolean validateSecurityObservationValue(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "SecurityObservationSecurityObservationValue", "ERROR"); - + + + + + + + + + + + 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; @@ -287,32 +331,44 @@ public static boolean validateSecurityObservationValue(SecurityObservation secur public static boolean validateSecurityObservationValueP(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "SecurityObservationSecurityObservationValueP", "ERROR"); - + + + + + + + + + + + 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; @@ -337,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. @@ -358,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. @@ -368,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. @@ -381,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. @@ -391,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. @@ -404,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. @@ -425,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>(); /** * @@ -440,32 +496,44 @@ public static boolean validateSecurityObservationValueP(SecurityObservation secu public static boolean validateSecurityObservationMoodCode(SecurityObservation securityObservation, DiagnosticChain diagnostics, Map context) { - - DatatypesUtil.increment(context, "SecurityObservationSecurityObservationMoodCode", "ERROR"); - + + + + + + + + + + + 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 02164a5342..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 @@ -20,6 +20,7 @@ import org.eclipse.mdht.uml.hl7.rim.InfrastructureRoot; 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; @@ -83,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; } @@ -95,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. @@ -271,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 eeb0afb809..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 @@ -19,6 +19,7 @@ import org.eclipse.mdht.uml.hl7.rim.InfrastructureRoot; 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; @@ -97,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 3f476315ab..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 @@ -9,6 +9,7 @@ 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; @@ -659,7 +660,7 @@ public CONTENTPROFILEValidator() { */ @Override protected EPackage getEPackage() { - return CONTENTPROFILEPackage.eINSTANCE; + return CONTENTPROFILEPackage.eINSTANCE; } /** @@ -673,43 +674,37 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn Map context) { switch (classifierID) { case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_DOCUMENT: - return validatePrivacySegmentedDocument((PrivacySegmentedDocument) value, diagnostics, context); + return validatePrivacySegmentedDocument((PrivacySegmentedDocument)value, diagnostics, context); case CONTENTPROFILEPackage.PRIVACY_SEGMENTED_SECTION: - return validatePrivacySegmentedSection((PrivacySegmentedSection) value, diagnostics, context); + return validatePrivacySegmentedSection((PrivacySegmentedSection)value, diagnostics, context); case CONTENTPROFILEPackage.PRIVACY_MARKINGS_SECTION: - return validatePrivacyMarkingsSection((PrivacyMarkingsSection) value, diagnostics, context); + return validatePrivacyMarkingsSection((PrivacyMarkingsSection)value, diagnostics, context); case CONTENTPROFILEPackage.OBLIGATION_POLICY_SECURITY_OBSERVATION: - return validateObligationPolicySecurityObservation( - (ObligationPolicySecurityObservation) value, diagnostics, context); + return validateObligationPolicySecurityObservation((ObligationPolicySecurityObservation)value, diagnostics, context); case CONTENTPROFILEPackage.SECURITY_OBSERVATION: - return validateSecurityObservation((SecurityObservation) value, diagnostics, context); + return validateSecurityObservation((SecurityObservation)value, diagnostics, context); case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_PROVENANCE: - return validateMandatoryDocumentProvenance((MandatoryDocumentProvenance) value, diagnostics, context); + return validateMandatoryDocumentProvenance((MandatoryDocumentProvenance)value, diagnostics, context); case CONTENTPROFILEPackage.MANDATORY_DOCUMENT_ASSIGNED_AUTHOR: - return validateMandatoryDocumentAssignedAuthor( - (MandatoryDocumentAssignedAuthor) value, diagnostics, context); + return validateMandatoryDocumentAssignedAuthor((MandatoryDocumentAssignedAuthor)value, diagnostics, context); case CONTENTPROFILEPackage.PRIVACY_ANNOTATION: - return validatePrivacyAnnotation((PrivacyAnnotation) value, diagnostics, context); + return validatePrivacyAnnotation((PrivacyAnnotation)value, diagnostics, context); case CONTENTPROFILEPackage.REFRAIN_POLICY_SECURITY_OBSERVATION: - return validateRefrainPolicySecurityObservation( - (RefrainPolicySecurityObservation) value, diagnostics, context); + return validateRefrainPolicySecurityObservation((RefrainPolicySecurityObservation)value, diagnostics, context); case CONTENTPROFILEPackage.PURPOSE_OF_USE_SECURITY_OBSERVATION: - return validatePurposeOfUseSecurityObservation( - (PurposeOfUseSecurityObservation) value, diagnostics, context); + return validatePurposeOfUseSecurityObservation((PurposeOfUseSecurityObservation)value, diagnostics, context); case CONTENTPROFILEPackage.CONFIDENTIALITY_SECURITY_OBSERVATION: - return validateConfidentialitySecurityObservation( - (ConfidentialitySecurityObservation) value, diagnostics, context); + return validateConfidentialitySecurityObservation((ConfidentialitySecurityObservation)value, diagnostics, context); case CONTENTPROFILEPackage.PROTECTED_PROBLEM: - return validateProtectedProblem((ProtectedProblem) value, diagnostics, context); + return validateProtectedProblem((ProtectedProblem)value, diagnostics, context); case CONTENTPROFILEPackage.MANDATORY_ENTRY_PROVENANCE: - return validateMandatoryEntryProvenance((MandatoryEntryProvenance) value, diagnostics, context); + return validateMandatoryEntryProvenance((MandatoryEntryProvenance)value, diagnostics, context); case CONTENTPROFILEPackage.MANDATORY_ENTRY_ASSIGNED_AUTHOR: - return validateMandatoryEntryAssignedAuthor((MandatoryEntryAssignedAuthor) value, diagnostics, context); + return validateMandatoryEntryAssignedAuthor((MandatoryEntryAssignedAuthor)value, diagnostics, context); case CONTENTPROFILEPackage.PRIVACY_ANNOTATION_ENTRY_RELATIONSHIP: - return validatePrivacyAnnotationEntryRelationship( - (PrivacyAnnotationEntryRelationship) value, diagnostics, context); + return validatePrivacyAnnotationEntryRelationship((PrivacyAnnotationEntryRelationship)value, diagnostics, context); case CONTENTPROFILEPackage.PRIVACY_MARKINGS_ENTRY: - return validatePrivacyMarkingsEntry((PrivacyMarkingsEntry) value, diagnostics, context); + return validatePrivacyMarkingsEntry((PrivacyMarkingsEntry)value, diagnostics, context); default: return true; } @@ -722,1219 +717,312 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn */ 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); - } + 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; } @@ -1983,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); } /** @@ -1994,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; } @@ -2095,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; } @@ -2212,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; } @@ -2332,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; } @@ -2457,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; } @@ -2548,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; } @@ -2626,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); } /** @@ -2639,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); } /** @@ -2652,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); } /** @@ -2665,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); } /** @@ -2676,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; } @@ -2847,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; } @@ -2968,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; } @@ -3089,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; } @@ -3197,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; } @@ -3369,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; } @@ -3459,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; } @@ -3532,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); } /** @@ -3557,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); } /** @@ -3569,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; } @@ -3619,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); } /** @@ -3632,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); } /** @@ -3643,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/test/DS4PValidationExample.java b/generated/org.hl7.security.ds4p.contentprofile/src/test/DS4PValidationExample.java index 4d907536fe..c7ef1452d9 100644 --- a/generated/org.hl7.security.ds4p.contentprofile/src/test/DS4PValidationExample.java +++ b/generated/org.hl7.security.ds4p.contentprofile/src/test/DS4PValidationExample.java @@ -7,6 +7,9 @@ import java.io.File; import java.io.FileInputStream; import java.util.List; +import java.util.Set; +import java.util.stream.Collectors; +import java.util.stream.Stream; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.mdht.uml.cda.util.CDADiagnostic; @@ -80,21 +83,32 @@ public void setValidationStatistics(ValidationStatistics validationStatistics) { } } + 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:"); - ValidationResult result = new ValidationResult(); + try { - DS4PUtil.validateAsDS4P(new FileInputStream(SAMPLES_PATH + File.separator + DS4P_TEST_FILE_NAME), result); + + 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(); } - System.out.println("Errors:"); - parseAndPrintIssueResults(result.getErrorDiagnostics()); - System.out.println("Warnings:"); - parseAndPrintIssueResults(result.getWarningDiagnostics()); - System.out.println("Info:"); - parseAndPrintIssueResults(result.getInfoDiagnostics()); } private static void parseAndPrintIssueResults(List resultDiagnostics) { 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..34685a2332 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,7 @@ Bundle-Version: 3.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 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/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..e4608804b4 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.8 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..de846bc98a 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,7 @@ Bundle-Version: 3.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.emf.ecore.xmi;visibility:=reexport, @@ -15,7 +15,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/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/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 index 6e2b4e21c9..78a1a4e8de 100644 --- 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 @@ -11,6 +11,17 @@ *******************************************************************************/ 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 * @@ -85,47 +96,47 @@ public class TestRuleCount { // // } // - // @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); - // - // } + @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.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/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/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/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..192ffbe7d6 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.8 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..fe14fc498f 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.8 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 4cfd47505e..5262e70df1 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.8 + 1.8 + 2.4.0-SNAPSHOT + false + true + true + 1.8 + 1.8 + 3.0.1 - 2.10.4 + 3.2.0 3.0.0 3.0.0 UTF-8 @@ -21,9 +36,9 @@ - neon + 2020-03 p2 - http://download.eclipse.org/releases/neon + http://download.eclipse.org/releases/2020-03 @@ -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 + 2020-03 p2 - http://download.eclipse.org/releases/neon + http://download.eclipse.org/releases/2020-03 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..d1fe5716ff 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,9 +10,10 @@ org.eclipse.jdt.core.codeComplete.staticFieldSuffixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes= org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate @@ -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 @@ -84,7 +84,7 @@ org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disa org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.7 +org.eclipse.jdt.core.compiler.source=1.8 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=36 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 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..a67f19d884 --- /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 + + + + + + + + + + + + + Information must be encrypted + + + + + + + + + + + + + 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 + + + + + + + + + + + + + Information must be encrypted + + + + + + + + + + + + + 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/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/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/TestDS4P.java b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/TestDS4P.java new file mode 100644 index 0000000000..0cb7f6640c --- /dev/null +++ b/tests/org.hl7.security.ds4p.contentprofile.tests/src/test/java/org/hl7/security/ds4p/contentprofile/tests/TestDS4P.java @@ -0,0 +1,58 @@ +/******************************************************************************* + * 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.util.CDAUtil; +import org.eclipse.mdht.uml.cda.util.ValidationResult; +import org.hl7.security.ds4p.contentprofile.CONTENTPROFILEFactory; +import org.openhealthtools.mdht.uml.cda.consol.ConsolFactory; + +public class TestDS4P { + public static void main(String[] args) 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(); + CDAUtil.load(new FileInputStream("samples/NEWcdaPrivacySegmentedDocument.xml"), 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/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..070beba033 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,9 +10,10 @@ org.eclipse.jdt.core.codeComplete.staticFieldSuffixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes= org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate @@ -83,7 +84,7 @@ org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disa org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.7 +org.eclipse.jdt.core.compiler.source=1.8 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=36 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 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.phmr.tests/META-INF/MANIFEST.MF b/tests/org.openhealthtools.mdht.uml.cda.phmr.tests/META-INF/MANIFEST.MF index 9473d8ac32..acccdc20c5 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.8 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..a47bc4c41e 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.8 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..dafc44497c 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.8 Export-Package: org.openhealthtools.mdht.uml.cda.vsbr.tests Require-Bundle: org.eclipse.core.runtime, org.openhealthtools.mdht.uml.cda.vsbr;visibility:=reexport,