|
106 | 106 | <eAnnotations source="http://www.openhealthtools.org/mdht/uml/cda/annotation"> |
107 | 107 | <details key="constraints.validation.error" value="PrivacySegmentedSectionTemplateId PrivacySegmentedSectionConfidentialityCode"/> |
108 | 108 | <details key="templateId.root" value="2.16.840.1.113883.3.3251.1.10"/> |
109 | | - <details key="confidentialityCode.codeSystem" value="2.16.840.1.113883.5.25"/> |
110 | | - <details key="confidentialityCode.codeSystemName" value="ConfidentialityCode"/> |
| 109 | + <details key="confidentialityCode.codeSystemName" value=""/> |
111 | 110 | <details key="constraints.validation.warning" value="PrivacySegmentedSectionConfidentialityCodeP PrivacySegmentedSectionAuthor"/> |
112 | 111 | </eAnnotations> |
113 | 112 | <eOperations name="PrivacySegmentedSectionTemplateId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> |
|
131 | 130 | </eOperations> |
132 | 131 | <eOperations name="PrivacySegmentedSectionConfidentialityCode" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> |
133 | 132 | <eAnnotations source="http://www.eclipse.org/uml2/1.1.0/GenModel"> |
134 | | - <details key="body" value="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')"/> |
| 133 | + <details key="body" value="not self.confidentialityCode.oclIsUndefined() and self.confidentialityCode.oclIsKindOf(datatypes::CE) and 
let value : datatypes::CE = self.confidentialityCode.oclAsType(datatypes::CE) in 
value.code = 'N' or value.code = 'R' or value.code = 'V'"/> |
135 | 134 | </eAnnotations> |
136 | 135 | <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> |
137 | 136 | <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
|
192 | 191 | <details key="constraints.validation.error" value="PrivacyMarkingsSectionTemplateId PrivacyMarkingsSectionCodeP PrivacyMarkingsSectionText"/> |
193 | 192 | <details key="templateId.root" value="2.16.840.1.113883.3.3251.1.5"/> |
194 | 193 | <details key="code.code" value="57017-6"/> |
195 | | - <details key="code.codeSystem" value="2.16.840.1.113883.6.1"/> |
196 | | - <details key="code.codeSystemName" value="LOINC"/> |
| 194 | + <details key="code.codeSystemName" value=""/> |
197 | 195 | <details key="code.displayName" value="Privacy Policy"/> |
198 | 196 | <details key="constraints.validation.warning" value="PrivacyMarkingsSectionCode"/> |
199 | 197 | <details key="constraints.validation.info" value="PrivacyMarkingsSectionEntry1"/> |
|
219 | 217 | </eOperations> |
220 | 218 | <eOperations name="PrivacyMarkingsSectionCode" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> |
221 | 219 | <eAnnotations source="http://www.eclipse.org/uml2/1.1.0/GenModel"> |
222 | | - <details key="body" value="(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')"/> |
| 220 | + <details key="body" value="(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')"/> |
223 | 221 | </eAnnotations> |
224 | 222 | <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> |
225 | 223 | <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
|
304 | 302 | <details key="code.codeSystemName" value="SecurityObservationTypeCodeSystem"/> |
305 | 303 | <details key="code.displayName" value="Security Control"/> |
306 | 304 | <details key="constraints.validation.dependOn.SecurityObservationCode" value="SecurityObservationCodeP"/> |
307 | | - <details key="value.codeSystem" value="2.16.840.1.113883.5.1063"/> |
308 | | - <details key="value.codeSystemName" value="SecurityObservationValueCodeSystem"/> |
| 305 | + <details key="value.codeSystemName" value=""/> |
309 | 306 | <details key="constraints.validation.warning" value="SecurityObservationValue"/> |
310 | 307 | <details key="constraints.validation.dependOn.SecurityObservationValue" value="SecurityObservationValueP"/> |
311 | 308 | </eAnnotations> |
|
392 | 389 | </contents> |
393 | 390 | <contents xsi:type="ecore:EOperation" name="SecurityObservationValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> |
394 | 391 | <eAnnotations source="http://www.eclipse.org/uml2/1.1.0/GenModel"> |
395 | | - <details key="body" value="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'))"/> |
| 392 | + <details key="body" value="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.code = 'CPLYCD' or value.code = 'ENCRYPT')"/> |
396 | 393 | </eAnnotations> |
397 | 394 | <eAnnotations source="redefines" references="#//SecurityObservation/SecurityObservationValue"/> |
398 | 395 | <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> |
|
919 | 916 | <details key="code.codeSystemName" value="SecurityObservationTypeCodeSystem"/> |
920 | 917 | <details key="code.displayName" value="Security Control Observation Type"/> |
921 | 918 | <details key="constraints.validation.dependOn.SecurityObservationCode" value="SecurityObservationCodeP"/> |
922 | | - <details key="value.codeSystem" value="2.16.840.1.113883.5.1063"/> |
923 | | - <details key="value.codeSystemName" value="SecurityObservationValueCodeSystem"/> |
| 919 | + <details key="value.codeSystemName" value=""/> |
924 | 920 | <details key="constraints.validation.dependOn.SecurityObservationValue" value="SecurityObservationValueP"/> |
925 | 921 | </eAnnotations> |
926 | 922 | <eAnnotations source="duplicates"> |
|
1006 | 1002 | </contents> |
1007 | 1003 | <contents xsi:type="ecore:EOperation" name="SecurityObservationValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> |
1008 | 1004 | <eAnnotations source="http://www.eclipse.org/uml2/1.1.0/GenModel"> |
1009 | | - <details key="body" value="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'))"/> |
| 1005 | + <details key="body" value="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.code = 'NOAUTH' or value.code = 'NOCOLLECT' or value.code = 'NODSCLCD' or value.code = 'NOINTEGRATE' or value.code = 'NOLIST' or value.code = 'NOMOU' or value.code = 'NOORGPOL' or value.code = 'NOPERSISTP' or value.code = 'NORDSCLW' or value.code = 'NORDSLCD' or value.code = 'NORELINK' or value.code = 'NOREUSE' or value.code = 'NOVIP' or value.code = 'ORCON')"/> |
1010 | 1006 | </eAnnotations> |
1011 | 1007 | <eAnnotations source="redefines" references="#//SecurityObservation/SecurityObservationValue"/> |
1012 | 1008 | <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> |
|
1028 | 1024 | </eClassifiers> |
1029 | 1025 | <eClassifiers xsi:type="ecore:EClass" name="PurposeOfUseSecurityObservation" eSuperTypes="#//SecurityObservation"> |
1030 | 1026 | <eAnnotations source="http://www.openhealthtools.org/mdht/uml/cda/annotation"> |
1031 | | - <details key="constraints.validation.error" value="SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue SecurityObservationValueP"/> |
| 1027 | + <details key="constraints.validation.error" value="SecurityObservationTemplateId SecurityObservationCode SecurityObservationCodeP SecurityObservationValue"/> |
1032 | 1028 | <details key="templateId.root" value="2.16.840.1.113883.3.445.22"/> |
1033 | 1029 | <details key="code.code" value="SECCONOBS"/> |
1034 | 1030 | <details key="code.codeSystem" value="2.16.840.1.113883.1.11.20457"/> |
1035 | 1031 | <details key="code.codeSystemName" value="SecurityObservationTypeCodeSystem"/> |
1036 | 1032 | <details key="code.displayName" value="Security Control"/> |
1037 | 1033 | <details key="constraints.validation.dependOn.SecurityObservationCode" value="SecurityObservationCodeP"/> |
1038 | | - <details key="value.codeSystem" value="2.16.840.1.113883.5.1063"/> |
1039 | | - <details key="value.codeSystemName" value="SecurityObservationValueCodeSystem"/> |
1040 | | - <details key="constraints.validation.dependOn.SecurityObservationValue" value="SecurityObservationValueP"/> |
1041 | 1034 | </eAnnotations> |
1042 | 1035 | <eAnnotations source="duplicates"> |
1043 | 1036 | <contents xsi:type="ecore:EOperation" name="SecurityObservationTemplateId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> |
|
1100 | 1093 | </eGenericType> |
1101 | 1094 | </eParameters> |
1102 | 1095 | </contents> |
1103 | | - <contents xsi:type="ecore:EOperation" name="SecurityObservationValueP" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> |
1104 | | - <eAnnotations source="http://www.eclipse.org/uml2/1.1.0/GenModel"> |
1105 | | - <details key="body" value="not self.value->isEmpty()"/> |
1106 | | - </eAnnotations> |
1107 | | - <eAnnotations source="redefines" references="#//SecurityObservation/SecurityObservationValueP"/> |
1108 | | - <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> |
1109 | | - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
1110 | | - <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> |
1111 | | - </eAnnotations> |
1112 | | - </eParameters> |
1113 | | - <eParameters name="context"> |
1114 | | - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
1115 | | - <details key="documentation" value="The cache of context-specific information."/> |
1116 | | - </eAnnotations> |
1117 | | - <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> |
1118 | | - <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> |
1119 | | - <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> |
1120 | | - </eGenericType> |
1121 | | - </eParameters> |
1122 | | - </contents> |
1123 | 1096 | <contents xsi:type="ecore:EOperation" name="SecurityObservationValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> |
1124 | 1097 | <eAnnotations source="http://www.eclipse.org/uml2/1.1.0/GenModel"> |
1125 | | - <details key="body" value="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'))"/> |
| 1098 | + <details key="body" value="not self.value->isEmpty()"/> |
1126 | 1099 | </eAnnotations> |
1127 | 1100 | <eAnnotations source="redefines" references="#//SecurityObservation/SecurityObservationValue"/> |
1128 | 1101 | <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> |
|
0 commit comments